Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] add TContext for ApolloServer generic type #8

Merged
merged 2 commits into from
Mar 30, 2024

Conversation

runyasak
Copy link
Contributor

Overview

I've added context generic type, passing through apollo, for ApolloServer.
So, you can pass your custom context type and work with type on your code editor.

Screenshots

Screen Shot 2567-01-14 at 22 35 09

Screen Shot 2567-01-14 at 22 35 20


I'm not sure if my code is over-engineering or not, please address me.
If you have any feedback or suggestions, please let me know.

@SaltyAom SaltyAom merged commit fe9bbf8 into elysiajs:main Mar 30, 2024
@runyasak runyasak deleted the feat/context-generic-type branch March 30, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants